import { ADD, REDUCE } from "./constant"

/* 
    用来记录所有action对象方便调用
*/
export const createAddAction = data => ({ type: ADD, data })
export const createReduceAction = data => ({ type: REDUCE, data })